package com.wyt.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: xiangmu01
 * @description: 用于新增/修改emp
 * @author: 王一同
 * @create: 2021-11-25 09:59
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IUemp {
    private Integer enumber;
    private String ename;
    private String esex;
    private String esid;
    private String etel;
    private String erole;
    private String did;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date eIndate;
    private String eaddress;

    @Override
    public String toString() {
        return "IUemp{" +
                "enumber=" + enumber +
                ", ename='" + ename + '\'' +
                ", esex='" + esex + '\'' +
                ", esid='" + esid + '\'' +
                ", etel='" + etel + '\'' +
                ", erole='" + erole + '\'' +
                ", did='" + did + '\'' +
                ", eIndate=" + eIndate +
                ", eaddress='" + eaddress + '\'' +
                '}';
    }
}
